{include file="public/header" /}
<link href="__CSS__/plugins/iCheck/custom.css" rel="stylesheet">
<body class="gray-bg" id="container">
<div class="wrapper wrapper-content animated fadeInRight">

    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>地点订单用量统计

                <!--<a href="#" class="label label-info">用户数:-->
                    <!--<span class="label label-danger">{$counts}人</span>-->
                <!--</a>-->
            </h5>

        </div>
        <div class="ibox-content">
            <!--搜索框开始-->
            <div class="row">
                <div class="col-sm-12">
                    <div class="table-responsive">
                        <div class="col-sm-12">
                            <div class="form">
                                <form method="post" action="{:url('locationOrder')}" class="form form-inline">
                                    <input readonly class="form-control layer-date" id="start_date" name="startTime"
                                           value="{$startTime}" style="margin-top: 15px">
                                    <label class="laydate-icon inline demoicon"
                                           onclick="laydate({elem: '#start_date'});"></label>
                                    <input readonly class="form-control layer-date" id="end_date" name="endTime"
                                           value="{$endTime}" style="margin-top: 15px">
                                    <label class="laydate-icon inline demoicon"
                                           onclick="laydate({elem: '#end_date'});"></label>

                                    <button class="btn btn-success btn-sm"
                                            style="margin-bottom:0;margin-left:4px;margin-top: 15px;">筛选
                                    </button>
                                    <a class="btn btn-primary btn-sm" style="margin-bottom:0;margin-top: 15px;"
                                       href="{:url('locationOrder')}"><i
                                            class="fa fa-filter"></i> 重置</a>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!--搜索框结束-->
            <div class="hr-line-dashed"></div>

            <div class="example-wrap">
                <div class="example">
                    <div class="example">
                        <table class="table table-striped table-bordered table-hover">
                            <thead>
                            <tr class="long-tr">
                                <th>日期</th>
                                <th>地点</th>
                                <th>订单数</th>
                            </tr>
                            </thead>
                            <tbody id="list-content">
                            {foreach $list as $vo}
                            <tr class="long-td">
                                <td>{$vo['perTime']}</td>
                                <td>{$vo['location_name']}</td>
                                <td>{$vo['counts']}</td>
                            </tr>
                            {/foreach}
                        </table>
                    </div>
                </div>
                <!-- End Example Pagination -->
            </div>
        </div>
    </div>
    <!-- End Panel Other -->


</div>

{include file="public/footer" /}

<script>


</script>
</body>
</html>
